package com.jzr.board.base;

import com.jzr.board.bean.BoardGetBean;
import com.jzr.board.bean.CallBean;
import com.jzr.board.bean.OxyBean;

public class BaseEvenBus {

    public   static  final  int RELOAD= 100010;
    public   static  final  int GETBOARDGET= 100020;
    public   static  final  int GETBOARDGET_T= 100021;
    public   static  final  int CMD= 100022;
    public   static  final  int OXY= 100023;

    private int messageId;
    private String messageStr;
    private  BoardGetBean boardGetBean;
    private CallBean callBean;
    private OxyBean oxyBean;


    public BaseEvenBus(int messageId, OxyBean oxyBean) {
        this.messageId = messageId;
        this.oxyBean = oxyBean;
    }

    public BaseEvenBus(int messageId, CallBean callBean) {
        this.messageId = messageId;
        this.callBean = callBean;
    }

    public OxyBean getOxyBean() {
        return oxyBean;
    }

    public void setOxyBean(OxyBean oxyBean) {
        this.oxyBean = oxyBean;
    }

    public CallBean getCallBean() {
        return callBean;
    }

    public void setCallBean(CallBean callBean) {
        this.callBean = callBean;
    }

    public BaseEvenBus(int messageId) {
        this.messageId = messageId;
    }

    public BaseEvenBus(int messageId, String messageStr) {
        this.messageId = messageId;
        this.messageStr = messageStr;
    }

    public BaseEvenBus(int messageId, BoardGetBean boardGetBean) {
        this.messageId = messageId;
        this.boardGetBean = boardGetBean;
    }

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public String getMessageStr() {
        return messageStr;
    }

    public void setMessageStr(String messageStr) {
        this.messageStr = messageStr;
    }

    public BoardGetBean getBoardGetBean() {
        return boardGetBean;
    }

    public void setBoardGetBean(BoardGetBean boardGetBean) {
        this.boardGetBean = boardGetBean;
    }
}
